package com.etooling.framework.utils;

import com.alibaba.fastjson.serializer.SerializeConfig;

//用于Json转跎峰输出
public class SerializeConfigSingleton {
       private volatile static SerializeConfig singleton;
   
       private SerializeConfigSingleton() {
       }
   
       public static SerializeConfig getInstance() {
           if (singleton == null) {
               synchronized (SerializeConfig.class) {
                   if (singleton == null) {
                       singleton = new SerializeConfig();
                   }
               }
           }
           return singleton;
       }
   }
